﻿<%@ Page Language="C#" MasterPageFile="~/MainMT.master" AutoEventWireup="true" CodeFile="Prajob.aspx.cs" Inherits="Prajob" Title="无锡校园人才网-实习招聘" %>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <link href="css/stujob.css" rel="stylesheet" />
    <link href="css/default.css" rel="stylesheet" />
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="leftmain">
        <div class="leftBox">
            <div class="loginChioce">
                <span class="leftTop">行业查找</span>
            </div>
            <div>
                <asp:DataList ID="DataList1" runat="server" CellSpacing="4" DataKeyField="trid"
                    DataSourceID="SqlDataSource1">
                    <ItemTemplate>
                        <asp:HyperLink ID="HyperLink1" runat="server"
                            NavigateUrl='<%# "Prajob.aspx?hy="+Eval("trid") %>'
                            Text='<%# Eval("trname") %>'></asp:HyperLink>
                        <br />
                    </ItemTemplate>
                    <AlternatingItemStyle BackColor="WhiteSmoke" />
                </asp:DataList>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server"
                    ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                    SelectCommand="SELECT * FROM [tb_trade]"></asp:SqlDataSource>
            </div>
        </div>
    </div>

    <div class="rightmain" style="width: 768px;">
        <div class="rightHeader1">
            <div class="rightHLeft"><span class="rightHeaderTitle">当前位置</span></div>
            <div class="rightHMiddle2">
                <span>
                    <a href="Default.aspx" class="moreRight" style="float: left;">首页</a> <span class="jian">></span> 
                    <a href="Prajob.aspx" class="moreRight" style="float: left;">实习招聘</a>
                </span>
            </div>
            <div class="rightHRight"></div>
        </div>

        <div id="zpinfo" style="margin-top: 10px;">
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="cwid"
                DataSourceID="SqlDataSource2" AllowSorting="True" BackColor="White" BorderColor="White"
                BorderWidth="1px" CellPadding="5" EmptyDataText="无" Width="770px" AllowPaging="True" GridLines="Horizontal"
                PageSize="20" OnPageIndexChanging="GridView1_PageIndexChanging">
                <FooterStyle BackColor="White" ForeColor="#000066" />
                <RowStyle ForeColor="#000066" BorderColor="White" />
                <Columns>
                    <asp:TemplateField HeaderText="企业名称" SortExpression="cpname">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("cpname") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:HyperLink ID="HyperLink1" runat="server"
                                NavigateUrl='<%# "zwinfo.aspx?zw="+Eval("cwid") %>'
                                Text='<%# Eval("cpname") %>' Target="_blank" Width="297px"></asp:HyperLink>
                        </ItemTemplate>
                        <ControlStyle Width="180px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="招聘职位" SortExpression="cwname">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("cwname") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:HyperLink ID="HyperLink5" runat="server"
                                NavigateUrl='<%# "zwinfo.aspx?zw="+Eval("cwid") %>'
                                Text='<%# Eval("cwname") %>' Width="101px"></asp:HyperLink>
                        </ItemTemplate>
                        <ControlStyle Width="100px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="最低学历" SortExpression="cwknowledge">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox7" runat="server" Text='<%# Bind("cwknowledge") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:HyperLink ID="HyperLink7" runat="server"
                                Text='<%# Eval("cwknowledge") %>' Width="70px"></asp:HyperLink>
                        </ItemTemplate>
                        <ControlStyle Width="50px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="工作地点" SortExpression="cwjobadd">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("cwjobadd") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:HyperLink ID="HyperLink3" runat="server"
                                Text='<%# Eval("cwjobadd") %>' Width="102px"></asp:HyperLink>
                        </ItemTemplate>
                        <ControlStyle Width="150px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="发布日期" SortExpression="cwtime">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("cwtime") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:HyperLink ID="HyperLink2" runat="server"
                                Text='<%# Bind("cwtime", "{0:d}") %>' Width="103px"></asp:HyperLink>
                        </ItemTemplate>
                        <ControlStyle Width="100px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="职位申请" ShowHeader="False">
                        <ItemTemplate>
                            <asp:CheckBox ID="CheckBox1" runat="server" />
                        </ItemTemplate>
                        <ControlStyle Width="30px" />
                    </asp:TemplateField>
                </Columns>
                <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                <AlternatingRowStyle BackColor="WhiteSmoke" />
            </asp:GridView>
            <asp:SqlDataSource ID="SqlDataSource2" runat="server"
                ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                SelectCommand="SELECT tb_comwant.cwid, tb_comwant.cpid, tb_comwant.trid, tb_comwant.cwname, tb_comwant.cwask, tb_comwant.cwdeal, tb_comwant.cwjobadd, tb_comwant.cwpersonnum, tb_comwant.cwtime, tb_comwant.jcid, tb_company.cpname, tb_trade.trname, tb_jobclass.jcname, tb_company.cphref, tb_comwant.cwknowledge FROM tb_comwant INNER JOIN tb_trade ON tb_comwant.trid = tb_trade.trid INNER JOIN tb_company ON tb_comwant.cpid = tb_company.cpid INNER JOIN tb_jobclass ON tb_comwant.jcid = tb_jobclass.jcid WHERE (tb_jobclass.jcname = '实习招聘' and chandle='允许')"></asp:SqlDataSource>
            <div style="margin-top: 10px; float: right;">
                <asp:Label ID="Label1" runat="server"></asp:Label>
                <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/images/sqbtn.png"
                    OnClick="ImageButton2_Click" />
                <asp:ImageButton ID="ImageButton1" runat="server"
                    ImageUrl="~/images/canelbtn.png" OnClick="ImageButton1_Click" />
            </div>
        </div>
    </div>
</asp:Content>

